/*
 * myvector.h
 *
 *  Created on: Nov 18, 2016
 *      Author: swolice
 */

#ifndef MYVECTOR_H_
#define MYVECTOR_H_

#include <cstddef>
#include <vector>
#include <iostream>

template <class T>

class myvector {
public:
	myvector();
	~myvertor();
	void push_bach(T t);
	T *find(T t);
	void change(T *pos, T t);
	void del(T t);
	void show();
	T operator [](int i);

	void insert(T findt, T t);

private:
	T *p;
	int n;
	int realn;
};




#endif /* MYVECTOR_H_ */
